import { createStore } from 'redux';
import countReducer from './reducers/count_redecer';

//创建一个store对象 需要使用redux提供的createStore方法 并且传入reducer和当前的store做关联
const store = createStore(countReducer);

//把store对象暴露出去
export default store;